// StandardOfBoltNut.cpp: implementation of the StandardOfBoltNut class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "StandardOfBoltNut.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

StandardOfBoltNut::StandardOfBoltNut(const CString& strStandard):Standard(strStandard)
{

}

StandardOfBoltNut::~StandardOfBoltNut()
{

}

StandardOfBoltNut& StandardOfBoltNut::operator =(StandardOfBoltNut& standard)
{
	if(this == &standard)
		return *this;

	this->m_strCrudeDataTable = standard.m_strCrudeDataTable;
	this->m_strFolder = standard.m_strFolder;
	this->m_strIDDataTable = standard.m_strIDDataTable;
	this->m_strManufactory = standard.m_strManufactory;
	this->m_strObservation = standard.m_strObservation;
	this->m_strSurplusDataTable = standard.m_strSurplusDataTable;

	this->SetDescription(standard.GetDescription());
	this->SetStandardName(standard.GetStandard());
	this->SetStandardID(standard.GetStandardID());

	return *this;
}
